package org.aeon.message.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.annotation.PreventLoss;
import org.aeon.entity.dto.UserDto;

import java.io.Serial;

/**
 * @author: MissingAeon
 * @date: 2024/1/29 10:22
 * @description:
 */
@Getter
@Setter
@ToString
@PreventLoss
public class FriendApplyResponseMessage extends ResponseMessage {
    @Serial
    private static final long serialVersionUID = -3871151866552113739L;
    private UserDto from;

    public void setMessage(UserDto from) {
        this.from = from;
    }

    @Override
    public int getMessageType() {
        return FriendApplyResponseMessage;
    }
}
